﻿using Prism.Events;
using System.Collections.Generic;

namespace IntoMes.Global
{
    public class EventRepository
    {
        //消息器，共用
        private static IEventAggregator _events;
        public static IEventAggregator Events
        {
            get
            {
                if (_events == null)
                {
                    _events = new EventAggregator();
                }
                return _events;
            }
        }
    }
    public class Events
    {
        public class CollectionEvent : PubSubEvent<List<string>> { }
        public class GetRepairProductEvent : PubSubEvent<string> { }
    }
}
